package com.mybatis.springboot_mybatis01.service;

import com.mybatis.springboot_mybatis01.UserSexEnum;
import com.mybatis.springboot_mybatis01.pojo.User;
import org.apache.ibatis.annotations.*;

import java.util.List;

public interface UserService {

    List<User> findAll();

    User getOne(Integer id);


    void insetUser(User user);


    void updateUser(User user);

    void deleteUser(Integer id);

}
